AI Verified
Google tag added to head
Google tag code added to the head of the web site
PHP
Voted: 1 by 1 user(s)
The following is an example of adding a Google tag. You will need to get the Google tag for your own web site. As the one I have added is meant for my tutorial site and is used only for that individual site.
Scroll down to see more snippets from this codevault.
The author has indicated that this snippet is compatable up to wordpress version: Not Specified
Our AI bot has checked this snippet is compatable up to wordpress version: 6.1
Free & Pro
Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.
Pro Only (Coming Soon)
You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.
Last modified:
21/02/2023
This snippet has the following status:
AI Verified
This snippet has been tested by our AI bot, see any comments below.
AI Bot Comments:
-------------------------------------------------------------------------------------------------------------
Name | Potential vulnerability found : High Entropy String
Line | 6
Code | (<scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=G-N82M0N2BYX")
Code | Line | 6 : <scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=G-N82M0N2BYX"
Found 1 vulnerabilities
1
1 year ago
This is working.
Please see some snippets below related to this snippet..
Tracking - Analytics
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Insert Google Analytics in Header
These are some popular snippets from this users codevault..
WordPress Admin
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
This code snippets will stop all auto update success e-mails from being sent out. It will only send out emails when a plugin update fails.
Tracking - Analytics
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Google tag code added to the head of the web site
General
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Code removes the Custom Post Type (CPT) name from the URL slug.
Category
Snippet Status